import 'package:flutter_deer/generated/json/agent_user_betting_entity.g.dart';
import 'package:flutter_deer/generated/json/base/json_field.dart';

@JsonSerializable()
class AgentUserBettingParamEntity {

  AgentUserBettingParamEntity();

  factory AgentUserBettingParamEntity.fromJson(Map<String, dynamic> json) => $AgentUserBettingParamEntityFromJson(json);

  Map<String, dynamic> toJson() => $AgentUserBettingParamEntityToJson(this);

  String? username;
  String? accountId;

}

@JsonSerializable()
class AgentUserBettingSummaryPoolEntity {

  AgentUserBettingSummaryPoolEntity();

  factory AgentUserBettingSummaryPoolEntity.fromJson(Map<String, dynamic> json) => $AgentUserBettingSummaryPoolEntityFromJson(json);

  Map<String, dynamic> toJson() => $AgentUserBettingSummaryPoolEntityToJson(this);

  double? totalWinScore;
  double? totalScore;
  int? totalWinTimes;
  int? totalBettingTimes;
  List<AgentUserBettingSummaryEntity>? list;

}

@JsonSerializable()
class AgentUserBettingSummaryEntity {

  AgentUserBettingSummaryEntity();

  factory AgentUserBettingSummaryEntity.fromJson(Map<String, dynamic> json) => $AgentUserBettingSummaryEntityFromJson(json);

  Map<String, dynamic> toJson() => $AgentUserBettingSummaryEntityToJson(this);

  String? accountId;
  String? username;
  String? userNickName;
  String? userAvatar;
  double? totalWinScore;
  double? totalBettingScore;
  int? totalWinTimes;
  int? totalBettingTimes;
  String? lastBettingTime;
  String? lastBettingTimeStr;

}